package cn.empcode.builder;

public class ConcreteBuilder implements Builder {

	Product product;

	public ConcreteBuilder() {
		product = new Product();
	}

	public void buildBasic() {
		product.setBasic("basic is success !");
		System.out.println("basic is success !");
	}

	public void buildWall() {
		product.setWall("wall is success !");
		System.out.println("wall is success !");
	}

	public void buildRoofed() {
		product.setRoofed("roofed is success !");
		System.out.println("roofed is success !");
	}

	@Override
	public Product buildProduct() {
		return product;
	}

}
